<?php

$conn = mysqli_connect('localhost','root','','user_db') or die('connection failed');

?>